
<if condition="ACTION_NAME neq 'edit'">

</if>
<if condition="$forum_id eq 0">

    <else/>
    <div class="fmBox" style="margin-bottom: 20px;padding: 0;">
        <div class="coverHeader">
            <img class="cover" src="{$forum['background']}"/>
            <div class="hdLogo"><img src="{$forum.logo}" style="width: 100%"/></div>
            <!--<div class="summary text-more">{$forum.description}</div>-->
            <div class="hdInfo">
                <p style="margin-bottom: 0"><a href="{:U('forum/index/forum',array('id'=>$forum['id']))}" class="name">{$forum.title|op_t}</a></p>
                <sub    >
                    <span>主题：{$forum.topic_count}</span>
                    <span>|</span>
                    <span>帖子：{$forum.total_count}</span>
                </sub>
                <if condition="is_login() AND ($user_section.uid neq is_login())">
                    <eq name="hasFollowed" value="0">
                        <a class="follow-btn" onclick="forum.followingForum(this)" data-id="{$forum.id}">+<span>{:L('_FOLLOWERS_')}</span></a>
                        <else/>
                        <a class="follow-btn-grey" onclick="forum.followingForum(this)" data-id="{$forum.id}" ><span>{:L('_FOLLOWED_')}</span></a>
                    </eq>
                </if>
            </div>
        </div>
    </div>
</if>
